#!/usr/bin/env bash

docker run -d \
       --rm \
       --name pgvector \
       -p 5432:5432 \
       -e POSTGRES_PASSWORD=password \
       -e POSTGRES_USER=postgres \
       -e POSTGRES_DB=postgres \
       -e PGDATA=/var/lib/postgresql/data/pgdata \
       -v /Users/sunhongmin/IdeaProjects/ai-treasure-chest/pg-data/llm-embedding-sample/pg-data:/var/lib/postgresql/data \
       -v /Users/sunhongmin/IdeaProjects/ai-treasure-chest/pg-data/llm-embedding-sample/pg-init-script:/docker-entrypoint-initdb.d \
       ankane/pgvector:v0.5.0